package com.aries.entitys;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.mockuai.commons.entitis.FilterChain;

import java.util.List;

public interface UserService {
    UserDO get(String id);

    List<UserDO> list();

    Boolean insert(UserDO userDO);

    UserDO selectByWrapper(Wrapper<UserDO> entityWrapper);

    List<UserDO> selectByName(String name);

    UserDO getOne(EntityWrapper<UserDO> entityWrapper);

    List<UserDO> selectList(EntityWrapper<UserDO> entityWrapper, FilterChain filterList);

    Page<UserDO> selectPage(Page<UserDO> page, Wrapper<UserDO> wrapper);

}
